home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / g / gnu_c / incl98.zoo / utsname.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-02-20  |  428 b   |  30 lines

  1. /*
  2.  * sys/utsname.h - header for uname emulation
  3.  * Written by Dave Gymer and placed in the public domain.
  4.  */
  5.  
  6. #ifndef _UTSNAME_H
  7. #define _UTSNAME_H
  8.  
  9. #include <compiler.h>
  10.  
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14.  
  15. struct utsname {
  16.     char sysname[9];
  17.     char nodename[9];
  18.     char release[9];
  19.     char version[9];
  20.     char machine[9];
  21. };
  22.  
  23. __EXTERN int uname __PROTO((struct utsname *));
  24.  
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28.  
  29. #endif /* _UTSNAME_H */
  30.